package com.example.rabbit.service;

/**
 * @Author:MuJiuTian
 * @Description:
 * @Date: Created in 下午9:55 2019/8/19
 */
public interface Producer {
    void sendMessage(String exchange, String rountingKey, Object object);

    void delayMessage(String exchange, String rountingKey, long time, Object object);

    void dlxDelayMessage(String exchange, String rountingKey, long time, Object object);

    void sendAndReceive(String exchange, String rountingKey, Object object);
}
